<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
  <title>网络公司-首页</title>
  <link rel="stylesheet" href="{{ asset(__INDEX__) }}/res/layui/css/layui.css">
  <link rel="stylesheet" href="{{ asset(__INDEX__) }}/res/static/css/index.css">
</head>
<body>
  <!-- nav部分 -->
  <div class="nav index">
    <div class="layui-container">
      <!-- 公司logo -->
      <div class="nav-logo">
        <a href="/index">
          <img src="{{ asset(__INDEX__) }}/res/static/img/logo.png" alt="网络公司">
        </a>
      </div>
      <div class="nav-list">
        <button>
          <span></span><span></span><span></span>
        </button>
        <ul class="layui-nav" lay-filter="">
          <li class="layui-nav-item"><a href="{{ route('index.product.index') }}">产品</a></li>
          <li class="layui-nav-item"><a href="{{ route('index.news.index') }}">动态</a></li>
          <li class="layui-nav-item"><a href="{{ route('index.case.index') }}">案例</a></li>
          <li class="layui-nav-item"><a href="{{ route('index.page.index') }}">关于</a></li>
          <li class="layui-nav-item"><a href="https://fly.layui.com/store/" target="_blank">模板</a></li>
        </ul>
      </div>
    </div>
  </div>
  <!-- banner部分 -->
  @yield('content')

  <!-- footer部分 -->
  <div class="footer">
    <div class="layui-container">
      <p class="footer-web">
        <a href="javascript:;">合作伙伴</a>
        @foreach ($link as $item)
        <a href="{{ $item->url }}">{{ $item->title }}</a>
        @endforeach


      </p>
      <div class="layui-row footer-contact">
        <div class="layui-col-sm2 layui-col-lg1"><img src="{{ asset(__INDEX__) }}/res/static/img/erweima.jpg"></div>
        <div class="layui-col-sm10 layui-col-lg11">
          <div class="layui-row">
            <div class="layui-col-sm6 layui-col-md8 layui-col-lg9">
              <p class="contact-top"><i class="layui-icon layui-icon-cellphone"></i>&nbsp;{{ $config['siteconfig']->tel }}&nbsp;&nbsp;(9:00-18:00)</p>
              <p class="contact-bottom"><i class="layui-icon layui-icon-home"></i>&nbsp;{{ $config['siteconfig']->email }}</span></p>
            </div>
            <div class="layui-col-sm6 layui-col-md4 layui-col-lg3">
              <p class="contact-top"><span class="right">该模板版权归 <a href="https://www.layui.com/" target="_blank">{{ $config['siteconfig']->domain }}</a> 所有</span></p>
              <p class="contact-bottom"><span class="right">Copyright&nbsp;©&nbsp;2019-2022&nbsp;&nbsp;ICP&nbsp;备MB-24713981号</span></p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<script src="{{ asset(__INDEX__) }}/res/layui/layui.js"></script>
<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
  layui.config({
    base: '{{ asset(__INDEX__) }}/res/static/js/'
  }).use('firm');
</script>
@yield('myjs');
</body>
</html>
